money = 50
print("钱包还有:",money)

money = money - 10
print("买了冰激凌花费10元，还剩余：",money,"元")

# 假设，每隔一小时，输出一下钱包的余额
print("现在是下午1点，钱包余额剩余：",money)
print("现在是下午2点，钱包余额剩余：",money)
print("现在是下午3点，钱包余额剩余：",money)
print("现在是下午4点，钱包余额剩余：",money)

money = 50
print("当前钱包余额：",money,"元")
ice = 10
coca = 5
print("购买了冰激淋，花费:",ice,"元")
print("购买了可乐，花费：",coca,"元")
remaining_money = money - ice - coca
print("最终，钱包剩余：",remaining_money,"元")
